# Contributor: messense <messense@icloud.com>
# Maintainer: messense <messense@icloud.com>
pkgname=py3-sphinx-copybutton
pkgver=0.5.2
pkgrel=0
pkgdesc="Add a copy button to code blocks"
url="https://github.com/executablebooks/sphinx-copybutton"
arch="noarch"
license="MIT"
depends="
	py3-sphinx
	python3
	"
makedepends="py3-setuptools"
subpackages="$pkgname-pyc"
source="https://pypi.python.org/packages/source/s/sphinx-copybutton/sphinx-copybutton-$pkgver.tar.gz"
options="!check" # No tests
builddir="$srcdir/sphinx-copybutton-$pkgver"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --skip-build --root="$pkgdir"
}

sha512sums="
83f61526d8a20f70b0de63a5bad89ed4ae4f3cf5cd589f1a1e2e91f08f4d45a05acf780a4cf3703d4490ab93c9c9bb18c11d3170b8011c2254aab0334940ab2d  sphinx-copybutton-0.5.2.tar.gz
"
